package com.ant.storage.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author melon
 * @since 2024-01-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("car_commodity")
@ApiModel(value="CarCommodity对象", description="")
public class CarCommodity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "commodity_id", type = IdType.AUTO)
    private Integer commodityId;

    @ApiModelProperty(value = "城市id")
    @TableField("city_id")
    private Integer cityId;

    @ApiModelProperty(value = "条形码")
    @TableField("commodity_bar_code")
    private String commodityBarCode;

    @ApiModelProperty(value = "商品名称")
    @TableField("commodity_name")
    private String commodityName;

    @ApiModelProperty(value = "单位")
    @TableField("commodity_units")
    private String commodityUnits;

    @ApiModelProperty(value = "规格")
    @TableField("commodity_specification")
    private String commoditySpecification;

    @ApiModelProperty(value = "型号")
    @TableField("commodity_model")
    private String commodityModel;

    @ApiModelProperty(value = "图片")
    @TableField("commodity_picture")
    private String commodityPicture;

    @ApiModelProperty(value = "用途")
    @TableField("commodity_type")
    private Integer commodityType;

    @ApiModelProperty(value = "指导销售价")
    @TableField("commodity_price")
    private BigDecimal commodityPrice;

    @ApiModelProperty(value = "备注")
    private String remark;

    @TableField("creation_by")
    private String creationBy;

    @TableField("creation_time")
    private Date creationTime;

    @TableField("is_delete")
    private Integer isDelete;


}
